# -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Nov 17 2010)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx

###########################################################################
## Class panel_packages
###########################################################################

class panel_packages ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 500,300 ), style = wx.TAB_TRAVERSAL )
		
		bSizer1 = wx.BoxSizer( wx.VERTICAL )
		
		bSizer3 = wx.BoxSizer( wx.HORIZONTAL )
		
		sbSizer2 = wx.StaticBoxSizer( wx.StaticBox( self, wx.ID_ANY, u"Diseñador de packages / Packages designer" ), wx.HORIZONTAL )
		
		self.m_button_add_file = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/modulo_package_vipera.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_add_file.SetToolTipString( u"Añadir módulo" )
		
		self.m_button_add_file.SetToolTipString( u"Añadir módulo" )
		
		sbSizer2.Add( self.m_button_add_file, 0, wx.ALL, 5 )
		
		self.m_button_package = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/directorio_package_vipera.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_package.SetToolTipString( u"Añadir directorio" )
		
		self.m_button_package.SetToolTipString( u"Añadir directorio" )
		
		sbSizer2.Add( self.m_button_package, 0, wx.ALL, 5 )
		
		self.m_button_eliminar = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/eliminar_vipera.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_eliminar.SetToolTipString( u"Eliminar módulo / directorio seleccionado" )
		
		self.m_button_eliminar.SetToolTipString( u"Eliminar módulo / directorio seleccionado" )
		
		sbSizer2.Add( self.m_button_eliminar, 0, wx.ALL, 5 )
		
		bSizer3.Add( sbSizer2, 1, wx.ALL|wx.EXPAND, 5 )
		
		bSizer1.Add( bSizer3, 0, wx.EXPAND, 10 )
		
		self.m_treeCtrl_packages = wx.TreeCtrl( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TR_DEFAULT_STYLE|wx.TR_EDIT_LABELS|wx.TR_SINGLE )
		bSizer1.Add( self.m_treeCtrl_packages, 1, wx.ALL|wx.BOTTOM|wx.EXPAND, 5 )
		
		self.SetSizer( bSizer1 )
		self.Layout()
		
		# Connect Events
		self.m_button_add_file.Bind( wx.EVT_BUTTON, self.OnCrearModulo )
		self.m_button_package.Bind( wx.EVT_BUTTON, self.OnCrearDirectorio )
		self.m_button_eliminar.Bind( wx.EVT_BUTTON, self.OnEliminar )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def OnCrearModulo( self, event ):
		event.Skip()
	
	def OnCrearDirectorio( self, event ):
		event.Skip()
	
	def OnEliminar( self, event ):
		event.Skip()
	

###########################################################################
## Class dialogo_package
###########################################################################

class dialogo_package ( wx.Dialog ):
	
	def __init__( self, parent ):
		wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Insertar módulo", pos = wx.DefaultPosition, size = wx.Size( 386,120 ), style = wx.DEFAULT_DIALOG_STYLE )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
		
		sbSizer1 = wx.StaticBoxSizer( wx.StaticBox( self, wx.ID_ANY, u"Módulos / Modules" ), wx.VERTICAL )
		
		m_comboBox_modulosChoices = []
		self.m_comboBox_modulos = wx.ComboBox( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, m_comboBox_modulosChoices, 0 )
		sbSizer1.Add( self.m_comboBox_modulos, 0, wx.ALL|wx.EXPAND, 5 )
		
		m_sdbSizer1 = wx.StdDialogButtonSizer()
		self.m_sdbSizer1OK = wx.Button( self, wx.ID_OK )
		m_sdbSizer1.AddButton( self.m_sdbSizer1OK )
		m_sdbSizer1.Realize();
		sbSizer1.Add( m_sdbSizer1, 1, wx.EXPAND, 5 )
		
		self.SetSizer( sbSizer1 )
		self.Layout()
		
		self.Centre( wx.BOTH )
	
	def __del__( self ):
		pass
	

